
<script>
	$(function(){
		$('#{{datagrid_id}}').datagrid({
		    columns:[[
		            {field:'accountid',title:'交易账户',width:120},
		            {field:'name',title:'名称',width:39},
		            {field:'identify',title:'身份证号',width:120},
		            
		            {field:'tradeTime',title:'交易时间',width:80},
		            {field:'tradeAmount',title:'交易金额',width:39},
                    {field:'tradeType',title:'交易类型',width:80},
                    {field:'status',title:'交易状态',width:86},
                    {field:'desc',title:'交易描述',width:80}
	                ]],
	          toolbar:[{
		                id:'',
		                text:'充值申请',
		                iconCls:'icon-add',
		                handler:function(){
			                $.jBox("get:/lottery/accounts/add_recharge",{
                            title: '充值申请',
                            width:840,
                            height: 500,
                            top: '9%',
                            buttons: {},
                            loaded:function(){
 	            	

 	            }
           });
		}},'-','-'
	],

		    onLoadError: function() {
		    	$.jBox.tip('没有数据或根据搜索条件查不到相关数据', 'info');
		    	$("div.datagrid-body").css("height",0).find("table > tbody").empty();
		    	$("div.datagrid-view").css("height",'23px');
		    }
		});
	});
</script>

    
<div style="padding:20px;overflow:hidden;" class="ajust_height">
	<table id="{{datagrid_id}}"  striped="true" url="/lottery/accounts/update_re"
		pagination="true" iconCls="icon-save" url="" fitColumns="true" singleSelect="false"
		rownumbers="true" pageSize="15"   pageList=" [5,10,15,20,25]">
	</table>
</div>












 



	

